package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 基金定时任务变更记录
 *
 * @author lvgo
 * @date 2018-07-11 17:33
 */
@Accessors(chain = true)
@AllArgsConstructor
@Data
@NoArgsConstructor
@Builder
public class FundUpdateRecord extends BaseDomain {
    private static final long serialVersionUID = 1L;
    private Long recordId;
    private String fundCode;
    /**
     * 更新之前状态值
     */
    private String fundStatusOld;
    /**
     * 更新之后状态值
     */
    private String fundStatusNew;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
